package com.qyhl.webtv.module_news.news.information.info;


import com.qyhl.webtv.commonlib.entity.news.SectionBean;

import java.util.List;

/**
 * Created by qyhl on 2017/11/28.
 */

public interface InformationContract {
    interface InformationView {
        void setData(List<SectionBean> beanList);

        void setEmpty(String msg);

        void setError(String msg);

        void setNetError(String msg);
    }

    interface InformationPresenter {
        void getData(String id, String type);

        void setError(int code, String msg);

        void setData(List<SectionBean> beanList);
    }

    interface InformationModel {
        void getData(String id, String type);
    }
}
